-- GENERATED SPELL FOR [Ran Bloodtooth] --


function spell0_3696(pUnit, Event) --@Multi-Shot,n/a--
pUnit:FullCastSpellOnTarget(14443,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_3696', 571, 1)
end

function spell1_3696(pUnit, Event) --@Shoot,n/a--
pUnit:FullCastSpellOnTarget(6660,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_3696', 667, 1)
end

function Sorts_3696(pUnit, Event)
local choix_sorts_3696 = math.random(0, 1)
if choix_sorts_3696 == 0 then
pUnit:RegisterEvent('spell0_3696', 1, 1)
end
if choix_sorts_3696 == 1 then
pUnit:RegisterEvent('spell1_3696', 1, 1)
end
end

function mob3696_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3696', math.random(1500, 3000), 1)
end

function mob3696_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3696_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3696_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3696, 1, 'mob3696_Action')
RegisterUnitEvent(3696, 2, 'mob3696_Leave')
RegisterUnitEvent(3696, 3, 'mob3696_Kill')
RegisterUnitEvent(3696, 4, 'mob3696_Die')
